package com.mikufufu.blog.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum OperationType {

    /**
     * 插入
     */
    INSERT(1,"插入"),

    /**
     * 更新
     */
    UPDATE(2,"更新"),

    /**
     * 删除
     */
    DELETE(3,"删除"),

    /**
     * 登录
     */
    LOGIN(4,"登录"),

    /**
     * 注册
     */
    REGISTER(5,"注册"),

    /**
     * 发送邮件
     */
    SEND_EMAIL(6,"发送邮件"),

    /**
     * 其他
     */
    OTHER(0,"其他"),
    ;

    private final int type;
    private final String name;
}
